Avoid 0/FALSE confusion
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 Oct 2016 15:15:27 +0000 (11:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 Oct 2016 15:15:27 +0000 (11:15 -0400)
Since this is supposedly exemplary code, lets get it right.

https://bugzilla.gnome.org/show_bug.cgi?id=772683

demos/gtk-demo/glarea.c

index 715b06774a68118f6fa11af09d95994fb4b3e10f..b51e4ae1fe9aad918fbfc484f563545501b7a063 100644 (file)
@@ -333,7 +333,7 @@ create_axis_slider (int axis)
   GtkAdjustment *adj;
   const char *text;
 
-  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE);
+  box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
   switch (axis)
     {